﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JinfuyuanProject.Entity;
using JinfuyuanProject.Entity.Filter;

namespace JinfuyuanProject.Service.Interface
{
    public interface IEntryService
    {
        IQueryable<Entry> GetList();

        Entry GetModel(int Id);

        bool Delete(Entry entry);

        int Insert(Entry entry);

        bool Update(Entry entry);
        Hashtable ListData(FinanceFilter filter);
        IEnumerable<T> QueryBySql<T>(string sql);
    }
}
